<script type="text/javascript">
            jQuery(document).ready(function(){
                // binds form submission and fields to the validation engine
                jQuery("#MaquinariaInsertarForm").validationEngine();
            });
        </script>
 <!-- Columns -->
      <div id="cols" class="box"> 
    
    <!-- Aside (Left Column) -->
    <div id="aside" class="box">
          <div class="padding box"> 
        
        <!-- Logo (Max. width = 200px) -->
        <p id="logo"><a href="#"><?php echo $this->Html->image('logo.gif', array('alt' => 'logo'))?></a></p>
        
        <!-- Search -->
         <form action="#" method="get" id="search">
              <fieldset>
            <legend>Busqueda</legend>
            <p>
                  <input type="text" size="17" name="" class="input-text" />
                  &nbsp;
                  <input type="submit" value="BUSCAR" class="input-submit-02" /></p>
          </fieldset>
            </form>
        <!-- Create a new project -->
      </div>
          <!-- /padding -->
          <ul class="box">
        <li><?php echo $this->Html->link('LISTA SUCURSALES', array('action'=>'index')); ?></li>
        <li id="submenu-active"><?php echo $this->Html->link('REGISTRAR SUCURSAL', array('action'=>'insertar')); ?></li>
        	</ul>
        </div>
    <!-- /aside -->
    
    <hr class="noscreen" />
    
    <!-- Content (Right Column) -->
    <div id="content" class="box">
          <h1>EDITAR SUCURSALES</h1>
          <fieldset>
        <legend>Formulario</legend>
        <?php  echo $this->Form->create('Sucursale');?>

        <table class="nostyle">
           <tr>
            <td>Nombre:</td>
            <td><?php echo $this->Form->text('nombre', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate'));?></td>
          </tr>
          <tr>
            <td>Direccion:</td>
            <td> <?php echo $this->Form->text('direccion', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate2'));?></td>
          </tr>
          <tr>
            <td>Telefono:</td>
            <td> <?php echo $this->Form->text('telefono', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate2'));?></td>
          </tr>
             
              
              <tr>
            <td colspan="2" class="t-right">
            <?php $opt = array('Value'=>'Registrar', 'class'=>'input-submit');?>
                     <?php echo $this->Form->end($opt);?>
            </td>
          </tr>
            </table>
      </fieldset>
          
        
        </div>
    <!-- /content --> 
    
  </div>
      <!-- /cols -->